Method and System for Computing Multicast Traffic Matrices

ABSTRACT

A system and method for receiving, from one or more ingress routers, a first set of records including data corresponding to network traffic, receiving, from one or more egress routers, a second set of records including data corresponding to network traffic and creating a multicast traffic matrix using at least a portion of the data included in the first and second sets of records.

BACKGROUND

The use of IP multicast is an increasingly common method of Internetdata transmission. Through IP multicast transmission, such applicationsas audio and videoconferencing, broad software distribution, multimediabroadcasts and dissemination of financial market data can beaccomplished more easily than through an IP unicast.

Because of the increasing use of IP multicast, it is desirable to traceand record the distribution of data packets to multicast groups. Onecommon format for recording this type of data is in a multicast trafficmatrix. A multicast traffic matrix can be used to easily summarize suchdata. Generation of such a matrix, however, presents computation andscaling difficulties.

SUMMARY OF THE INVENTION

A method for receiving, from one or more ingress routers, a first set ofrecords including data corresponding to network traffic, receiving, fromone or more egress routers, a second set of records including datacorresponding to network traffic and creating a multicast traffic matrixusing at least a portion of the data included in the first and secondsets of records.

A system having a plurality of routers including ingress routers andegress routers and a network management station receiving, from one ormore of the ingress routers, a first set of records including datacorresponding to network traffic; receiving, from one or more of theegress routers, a second set of records including data corresponding tonetwork traffic and creating a multicast traffic matrix using at least aportion of the data included in the first and second sets of records.

DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an exemplary system according to the present invention.

FIG. 2 shows an exemplary method for generating a multicast trafficmatrix according to the present invention.

DETAILED DESCRIPTION

The exemplary embodiments of the present invention may be furtherunderstood with reference to the following description and the appendeddrawings, wherein like elements are referred to with the same referencenumerals. The exemplary embodiments of the present invention describe amethod and system for computing multicast traffic matrices. Theexemplary embodiments provide for the computation of these matrices in amanner that limits the locations where data collection takes place, thusproviding for scalability to large networks. The exemplary system andmethod will be discussed in detail below.

A traffic matrix contains information about the traffic transported overa network. It may describe multiple parameters of network traffic,including the routers at which traffic entered or exited the network,the customer who sent or received the traffic, the application thatgenerated the traffic, the volume of the traffic, etc. The matrix may beexpressed in terms of a number of bytes or a number of packets, and willpertain to a particular time interval (e.g., 5 minutes, 1 hour, 1 day,etc.) that is selected to be useful to the entity that is generating thematrix. Computation of a traffic matrix for a large, high-speed networkpresents challenging scaling issues. For example, it may involvecollecting a large amount of data from a large number of networkelements, storing the data, and performing complex computations usingthe data.

Knowledge of a traffic matrix is a network management function that hasmultiple uses. For example, an understanding of the amount of trafficentering and exiting a network may be important for network engineeringand provisioning; this knowledge makes it possible to run simulationsthat predict the utilization of various links within the network if thenetwork topology changes (e.g., if one or more links become unavailable,etc.). Additionally, a traffic matrix may be useful for identifyinganomalies (e.g., short term spikes) in network traffic, which mayindicate that a security attack on a network is taking place. Finally,knowing how much traffic a customer transmits to or receives from thenetwork can be used as input into a billing function.

The most common type of IP broadcasting is known as unicast, which maybe thought of as point-to-point data transport. When unicast transportof data takes places, a packet originates at an IP host and is addressedto a single destination IP host. The packet is then delivered to thedestination using standard network routing methods. The problem ofcomputing or estimating traffic matrices for unicast traffic has beenstudied, and solutions have been developed and deployed in various typesof networks.

In contrast to standard unicast network transportation of data, IPmulticast transport transmits a packet from a source host to one or moredestination hosts. Such a packet will contain a multicast group address(stored in a special portion of the 32-bit IP address space) in thedestination field of the IP header. Hosts that wish to receive packetsaddressed to a given multicast group express this interest via a groupmembership protocol, e.g., the Internet Group Membership Protocol(“IGMP”). A multicast routing protocol delivers a multicast packet fromthe source host to destination hosts that have joined a particularmulticast group. This is accomplished by forming a distribution treewithin the network. Such a tree has the single source as the root of thetree and the multiple receivers as its leaves. The packet is forwardedalong the edges of the tree and is replicated at its branching points.In this manner, no more than one copy of the packet is forwarded alongeach link in the network, and each interested destination host receivesone copy of the packet.

IP multicast is used to support such applications as audio and videoconferencing, mass software distribution, multimedia broadcasts,dissemination of financial market data, and VPN service between customersites in service provider networks. Because these manners oftransmission are all becoming more common, the use of IP multicast isincreasing accordingly. Given the increasing use and importance ofmulticast traffic, as well as its fundamental differences from unicasttraffic, it is important for network providers to be able to generateand use multicast traffic matrices.

The exemplary embodiments of the present invention, therefore, providemethods and systems for computing multicast traffic matrices that areboth efficient and scalable. FIG. 1 shows an exemplary system 100according to the present invention. The exemplary system 100 may act inaccordance with the exemplary method 200, shown in FIG. 2. The system100 includes a network 110, which may be, for example, the Internet orthe backbone of a large-scale enterprise network. The network 110includes a plurality of routers 120, 122, 124, 126, 128. Those of skillin the art will understand that while FIG. 1 illustrates a network 110that includes five routers, the precise number of routers will vary foreach implementation of the network 110. All “edge routers” (i.e.,routers that route traffic clients, as opposed to those that routetraffic solely to other network components) have Netflow enabled. In theexemplary network 110, routers 120, 122, 124 and 126 are edge routers;router 128 is not. The use of Netflow will be described below. (Inanother exemplary embodiment of the present invention, rather thanenabling Netflow on edge routers, Netflow is enabled on aggregatingrouters. Referring again to FIG. 1, this means Netflow would be enabledon router 128 but not on routers 124 and 126.) Each of the routers 120,122, 124, 126 provides network access for one or more clients 130-137.As above, those of skill in the art will understand that the precisenumber of clients will vary for each implementation of the network 110.The network may also include a network management station 140, which maybe where the exemplary method 200 is performed.

FIG. 2 shows an exemplary method 200 for generating multicast networktraffic matrices. The exemplary method 200 comprises three main phases.In step 205, traffic sent by each source to each multicast group at eachingress router is identified. In step 210, for each multicast group, theset of egress routers at which traffic addressed to that group exits thenetwork is identified. In the third phase, which comprises steps 215through 250, the ingress data is merged with the egress data to computea multicast traffic matrix. Each of these phases will be described indetail below.

Step 205 involves the identification of multicast traffic by group,source host, and ingress router. This is accomplished using Netflowrecords. Netflow is a function available on commercial routers andprovides traffic reports about groups of packets. A Netflow recordcontains information about all packets that match the same key and weresent or received by a router during a particular time interval. The keyfor a Netflow record includes the source and destination IP addresses ofthe packet, the higher layer protocol used (i.e., TCP or UDP), thesource and destination port numbers (if relevant to the higher layerprotocol), and the incoming/outgoing interfaces on the router traversedby the packets. For example, all packets belonging to a TCP connectionwill be included in the same Netflow record. The information containedin a Netflow record includes the number of packets covered by therecord, the total number of bytes in those packets, the time the firstpacket was received, and the time the last packet was received. Netflowuses a “push” model of data collection. This means that all Netflowrecords produced at a router are exported to a designated Netflowcollector.

Multicast packets will contain a multicast group address. Multicastgroup addresses are within the IP address range between 224.0.0.0 and239.255.255.255. Therefore, among all Netflow records, those thatpertain to multicast packets can easily be identified by the value ofthe destination IP address in the key of the Netflow record.

As described above, Netflow is enabled on edge routers 120, 122, 124,126 in the network 110. (As mentioned above, in other exemplaryembodiments of the present invention, Netflow can be enabled ataggregating routers rather than at edge routers; this can result inreducing the overhead involved in data collection.) Incoming multicasttraffic is identified by the destination address in the IP header and bythe incoming/outgoing interfaces in the network records. That is, basedon the interfaces, it may be determined whether the Netflow recordpertains to traffic entering or exiting the network. Using informationcontained in the Netflow records and configuration information about thenetwork topology, it is possible to identify the ingress router at whichmulticast traffic has entered the network.

In step 210, multicast traffic is then identified by group and egressrouter. Each multicast packet will exit the network at one or moreegress routers. Netflow records may be enabled at the egress interfacesof all edge routers to collect this information. However, collectingNetflow records at all egress routers (potentially a large number)presents a challenging scalability problem.

Instead, step 210 utilizes a network management protocol called SimpleNetwork Management Protocol (hereinafter “SNMP”). SNMP provides networkmanagement information about a router. Rather than using a push model asdescribed above for step 225, SNMP uses a “pull” model: a networkmanagement station queries a remote router for one or more definednetwork management items.

SNMP defines a large amount of network management information that maybe obtained from network routers. This information includes informationabout the multicast routing table at a router. Specifically, in responseto an SNMP query, a router may provide the set of multicast routingtable entries active at the router. Each routing table entry specifies amulticast group (hereinafter “G”) and a source address (hereinafter“S”). A wildcard may be used in place of the source address; thisindicates that the routing table entry pertains to all sources.

The presence of a multicast routing table entry, designated by anordered pair (S,G), indicates that the router will receive packets sentby source S and addressed to group G. The existence of a routing tableentry with a wildcard source entry, (*,G), indicates that the routerwill receive all packets addressed to group G sent by any source otherthan those for which a specific (S,G) entry exists at the router. Thus,SNMP polling provides a way to determine which routers will receivepackets destined to which groups at a given point in time. To accomplishthis, in step 210, SNMP is periodically used to poll all edge routersfor the contents of their multicast routing tables.

Each SNMP polling cycle determines which groups are active at a routerat time T. This information is then translated into intervals duringwhich a router was receiving packets destined for a particular group.Consider a series of SNMP polls at a router, P_(i), each occurring at aspecific time, T_(i). If a multicast routing table entry (S,G) wasactive at the router for all consecutive polls from P_(j) to P_(k),where j≦k, and (S,G) was not active at the router in poll P_(j−1) or inpoll P_(k+1), then a record is created indicating that the entry (S,G)was active from time T_(j) to time T_(k).

As discussed above, the third phase of the exemplary method spans steps215-250 and occurs once source data has been retrieved from the routerswithin the network in steps 205 and 210. In step 215, all Netflowrecords not destined to a multicast group are filtered fromconsideration. As discussed above, this means removing all Netflowrecords other than those with destination IP addresses in the rangebetween 224.0.0.0 and 239.255.255.255. In step 220, Netflow recordsaddressed to multicast group addresses 224.0.0.0/24 are also removedconsideration, since those addresses are designated as link local andare not forwarded over the network.

In step 225, for each remaining Netflow record, the ingress router, thegroup G, the source S, the number of bytes (“B”), the start time T_(x),and the stop time T_(y) are identified. In step 230, for one of theplurality of possible egress routers, the SNMP-derived records areexamined to see if there is a record for (S,G) active during the timeinterval (T_(x), T_(y)). An SNMP record with an active interval (T_(i),T_(j)) is active during a Netflow record active during (T_(x), T_(y)) ifT_(i)≦T_(y) and T_(j)≧T_(x).

If it is determined that the individual SNMP record (S,G) beingconsidered is not active during the time interval (T_(x), T_(y)), themethod proceeds to step 235; if active, to step 240. In step 235, it isdetermined whether there is a wildcard SNMP record of the form (*,G)active during the same Netflow record. If so, the method also proceedsto step 240; if not, back to step 230, where the next egress router isevaluated.

If an SNMP-derived record from an egress router, either a specific (S,G)record or a wildcard (*,G) record, has been determined to have beenactive during the time interval of a Netflow-based record from aningress router (i.e. during steps 230 or 235), then the count of bytesindicated in the Netflow record must be included in the count of bytesreceived at the egress router for group G. Step 240 determines thenumber of bytes to be so included. If the SNMP-derived record covers theentire interval of the Netflow record (i.e., if T_(i)≦T_(x) andT_(j)≧T_(y)), then all of the bytes in the Netflow record are noted ashaving been received at the egress router. If this is not the case(i.e., if the SNMP-derived record does not cover the entire interval ofthe Netflow record), then linear interpolation is used to allocate apercentage of the bytes as having been received at the egress router.This percentage may be calculated as:

$\frac{{\min \mspace{14mu} ( {{Tj},{Ty}} )} - {\max \mspace{14mu} ( {{Ti},{Tx}} )}}{{Ty} - {Tx}}$

The actual number of bytes assigned to the egress router is thenobtained by multiplying the above percentage by the number of bytes Bfor the Netflow record being considered.

After some or all of the byte total from the Netflow record has beenincluded in step 240, in step 245 it is determined whether there areadditional egress routers that must be processed for the current Netflowrecord. If so, the method returns to step 230, where evaluation beginsfor the next egress router. If not, the method continues to step 250,where it is determined whether there are additional Netflow records toconsider. If so, the method returns to step 225, where evaluation of thenext Netflow record begins. If there are no more Netflow records toevaluate, then the method terminates after step 250.

Once processing is completed under the exemplary method 200, theresulting byte counts for various multicast groups at various egressrouters may be combined to form a traffic matrix in any manner in whicha user of the network management station 140 sees fit.

The exemplary embodiments of the present invention provide a system andmethod for generating multicast network traffic matrices. Additionally,the exemplary method does so in a manner that is efficient and scalableto large enterprise networks.

It will be apparent to those skilled in the art that variousmodifications may be made in the present invention, without departingfrom the spirit or scope of the invention. Thus, it is intended that thepresent invention cover the modifications and variations of thisinvention provided they come within the scope of the appended claims andtheir equivalents.

1.-21. (canceled)
 22. A method, comprising: a) determining multicastgroup information for a first record of a first set of recordsoriginating from at least one ingress router; b) determining if a secondrecord of a second set of records originating from at least one egressrouter includes corresponding multicast group information; c)determining, if the first and second records have correspondingmulticast group information, whether a first time interval of the firstrecord overlaps a second time interval of the second record; d)determining, if the first time interval overlaps the second timeinterval, a value based on the overlap; e) allocating an amount oftraffic in the second record to a multicast group corresponding to themulticast group information based on the value; f) repeating steps a)-e)for each egress router g) computing a multicast traffic matrix based onthe allocated traffic amounts for each of the egress routers.
 23. Themethod of claim 22, wherein prior to step a) the method furthercomprises: removing, from the first set of records, records of networktraffic sent to link local addresses.
 24. The method of claim 23,wherein the removing is based on a network address included in therecords.
 25. The method of claim 22, wherein the value is determinedbased on a time of the overlap of the first and second time intervalsand a time of the first time interval.
 26. The method of claim 22,wherein the first set of records is a set of Netflow records.
 27. Themethod of claim 22, wherein the second set of records is retrieved usinga Simple Network Management Protocol.
 28. The method of claim 22,wherein the ingress routers are edge routers.
 29. The method of claim22, wherein the ingress routers are aggregating routers.
 30. The methodof claim 22, wherein the allocating is performed based on a linearinterpolation.
 31. The method of claim 30, wherein the amount of trafficallocated is based on a percentage determined by the linearinterpolation.
 32. A system, comprising: a) an arrangement fordetermining multicast group information for a first record of a firstset of records originating from at least one ingress router; b) anarrangement for determining if a second record of a second set ofrecords originating from at least one egress router includescorresponding multicast group information; c) an arrangement fordetermining, if the first and second records have correspondingmulticast group information, whether a first time interval of the firstrecord overlaps a second time interval of the second record; d) anarrangement for determining, if the first time interval overlaps thesecond time interval, a value based on the overlap; e) an arrangementfor allocating an amount of traffic in the second record to a multicastgroup corresponding to the multicast group information based on thevalue; f) an arrangement for repeating the operation of arrangementsa)-e) for each egress router g) an arrangement for computing a multicasttraffic matrix based on the allocated traffic amounts for each of theegress routers.
 33. The system of claim 32, further comprising: anarrangement for removing, from the first set of records, records ofnetwork traffic sent to link local addresses.
 34. The system of claim33, wherein the removing is based on a network address included in therecords.
 35. The system of claim 32, wherein the value is determinedbased on a time of the overlap of the first and second time intervalsand a time of the first time interval.
 36. The system of claim 32,wherein the first set of records is a set of Netflow records.
 37. Thesystem of claim 32, wherein the second set of records is retrieved usinga Simple Network Management Protocol.
 38. The system of claim 32,wherein the ingress routers are edge routers.
 39. The system of claim32, wherein the ingress routers are aggregating routers.
 40. The systemof claim 32, wherein the allocating is performed based on a linearinterpolation.
 41. The system of claim 40, wherein the amount of trafficallocated is based on a percentage determined by the linearinterpolation.
 42. A non-transitory computer readable storage mediumincluding a set of instructions executable by a processor, the set ofinstructions operable to: a) determine multicast group information for afirst record of a first set of records originating from at least oneingress router; b) determine if a second record of a second set ofrecords originating from at least one egress router includescorresponding multicast group information; c) determine, if the firstand second records have corresponding multicast group information,whether a first time interval of the first record overlaps a second timeinterval of the second record; d) determine, if the first time intervaloverlaps the second time interval, a value based on the overlap; e)allocate an amount of traffic in the second record to a multicast groupcorresponding to the multicast group information based on the value; f)repeat steps a)-e) for each egress router g) compute a multicast trafficmatrix based on the allocated traffic amounts for each of the egressrouters.